package com.gooluke.mds.controller;

import com.gooluke.mds.domain.dto.ConfigCompareDTO;
import com.gooluke.mds.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gooluke
 * description
 * datetime 2025-06-10 0:37
 */
@RestController
@RequestMapping("/config")
public class ConfigController {

    @Autowired
    private ConfigService configService;

    @RequestMapping("/compare/all")
    public ConfigCompareDTO compareConfig() {
        return configService.compareConfig();
    }

}
